package sgi.message;
/** message of inserting compensation to the customer handed the complaint */
@SuppressWarnings("serial")
public class MessageCompensation extends Message {

	private String userName;
	private int compensation;
	private String datetime;
	public MessageCompensation(String userName,int compensation,String datetime) {
		super("select balance from customers where username = '"+userName+"'");
		this.compensation=compensation;
		this.userName = userName;
		this.datetime=datetime;
	}
	
	
	public String getUsername()
	{
		return this.userName;
	}
	
	public int getCompensation()
	{
		return compensation;
	}


	public String getDatetime() {
		return this.datetime;
	}
	

}
